home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / utilit~1 / lack.zoo / startlack.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-11-11  |  420 b   |  26 lines

  1. #include "gemlib/gemfast.h"
  2. #include "gemlib/aesbind.h"
  3. #include <stdlib.h>
  4. #include <minimal.h>
  5.  
  6. NEW_AESP(a);
  7. long _stksize=1024;
  8. int mess[8];
  9.  
  10. main(int argc, char *argv[], char **environ)
  11. {
  12.     int max, c;
  13.  
  14.     if(argc>1)
  15.     {
  16.         _aesparams=&a;
  17.     max=atol(argv[1]);
  18.     appl_init();
  19.     mess[3]=AC_OPEN;
  20.     for(c=max; c>1; c--)
  21.          appl_write(c, 16, mess);
  22.     evnt_timer(500);
  23.     appl_exit();
  24.     }
  25. }
  26.